package com.it.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.it.pojo.Student;
import com.it.pojo.StudentExample;
import com.jkoss.tool.Page;

public interface StudentMapper {
	int countByExample(StudentExample example);

    int deleteByExample(StudentExample example);

    int deleteByPrimaryKey(Integer studentid);

    int insert(Student record);

    int insertSelective(Student record);

    List<Student> selectByExample(StudentExample example);

    Student selectByPrimaryKey(Integer studentid);

    int updateByExampleSelective(@Param("record") Student record, @Param("example") StudentExample example);

    int updateByExample(@Param("record") Student record, @Param("example") StudentExample example);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

	List findAll(Page page);
}